@charset "utf-8";

/* CSS 변수 정의 (중앙 관리) */
@import '_variables.css';

/* ============================================
   rb.bbs 부동산 상세보기 - 최신 한국 부동산 UX 패턴
   Inspired by: 네이버 부동산, 직방, 다방
   ============================================ */

/* ============================================
   🏷️ 매물 상태 배지
   ============================================ */

.rb_property_status_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.rb_property_status_badge .material-symbols-outlined {
    font-size: 18px;
}

.rb_status_active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.rb_status_reserved {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.rb_status_completed {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff;
}

/* ============================================
   ✅ 중개사 인증 배지
   ============================================ */

.rb_broker_verified_badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
}

.rb_broker_verified_badge .material-symbols-outlined {
    font-size: 16px;
    font-variation-settings: 'FILL' 1;
}

.rb_verified_icon {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    color: #3b82f6;
}

.rb_verified_icon .material-symbols-outlined {
    font-size: 18px;
    font-variation-settings: 'FILL' 1;
}

/* ============================================
   🎨 이미지 갤러리 (Swiper.js)
   ============================================ */

.rb_property_gallery {
    margin: 0 0 40px 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 메인 갤러리 슬라이더 */
.rb_gallery_main_swiper {
    position: relative;
    width: 100%;
    height: 500px;
    background: #f5f5f5;
}

.rb_gallery_main_swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.rb_gallery_main_swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.rb_gallery_main_swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.rb_gallery_main_swiper .swiper-slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 이미지 카운터 */
.rb_gallery_count {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'font-B', sans-serif;
}

/* 네비게이션 버튼 */
.rb_gallery_next,
.rb_gallery_prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.rb_gallery_next {
    right: 24px;
}

.rb_gallery_prev {
    left: 24px;
}

.rb_gallery_next .material-symbols-outlined,
.rb_gallery_prev .material-symbols-outlined {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
    font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.rb_gallery_next:hover,
.rb_gallery_prev:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.rb_gallery_next:hover .material-symbols-outlined,
.rb_gallery_prev:hover .material-symbols-outlined {
    color: #ea4335;
    transform: scale(1.1);
}

.rb_gallery_next:active,
.rb_gallery_prev:active {
    transform: translateY(-50%) scale(0.95);
}

.rb_gallery_next.swiper-button-disabled,
.rb_gallery_prev.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.rb_gallery_next.swiper-button-disabled .material-symbols-outlined,
.rb_gallery_prev.swiper-button-disabled .material-symbols-outlined {
    color: #999;
}

/* 썸네일 슬라이더 */
.rb_gallery_thumbs_swiper {
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
}

.rb_gallery_thumbs_swiper .swiper-slide {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.25s ease;
    opacity: 0.6;
}

.rb_gallery_thumbs_swiper .swiper-slide:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
    opacity: 1;
}

.rb_gallery_thumbs_swiper .swiper-slide-thumb-active {
    border-color: #ea4335 !important;
    box-shadow: 0 6px 16px rgba(234, 67, 53, 0.35) !important;
    opacity: 1 !important;
}

.rb_gallery_thumbs_swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   💰 가격 Hero 박스 (대형 타이포그래피)
   ============================================ */

.rb_realestate_hero {
    background: #fff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rb_category_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 16px;
    font-family: 'font-B', sans-serif;
}

.rb_category_badge .material-symbols-outlined {
    font-size: 18px;
    color: #6b7280;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.rb_hero_title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 30px 0;
    font-family: 'font-B', sans-serif;
}

.rb_hero_price_box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 50%, #fef2f2 100%);
    border: 3px solid #fecaca;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.12);
}

.rb_hero_price_header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.rb_price_label {
    font-size: 14px;
    color: #991b1b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'font-B', sans-serif;
}

/* 상세보기 페이지 거래 타입 배지 */
.rb_view_trade_badge,
.rb_hero_price_box .rb_trade_badge {
    display: inline-block;
    padding: 8px 20px;
    background: #dc2626;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    font-family: 'font-B', sans-serif;
}

.rb_hero_price_value {
    font-size: 48px;
    font-weight: 900;
    color: #dc2626;
    line-height: 1.2;
    margin-bottom: 16px;
    font-family: 'font-B', sans-serif;
}

.rb_price_number {
    display: inline-block;
    margin-right: 8px;
}

/* 상세보기 페이지 가격 단위 */
.rb_view_price_unit,
.rb_hero_price_box .rb_price_unit {
    font-size: 22px;
    color: #991b1b;
    font-weight: 700;
    margin-left: 4px;
}

.rb_monthly_price {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rb_deposit,
.rb_monthly {
    font-size: 36px;
    font-weight: 900;
    color: #dc2626;
    font-family: 'font-B', sans-serif;
}

.rb_management_fee {
    font-size: 15px;
    color: #666;
    padding-top: 16px;
    border-top: 2px solid #fecaca;
    font-family: 'font-R', sans-serif;
}

.rb_management_fee strong {
    color: #dc2626;
    font-weight: 700;
    font-size: 16px;
}

/* ============================================
   📋 핵심 정보 카드 (3열 그리드)
   ============================================ */

.rb_key_info_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.rb_key_card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rb_key_card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.rb_card_icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb_card_icon .material-symbols-outlined {
    font-size: 28px;
    color: #3b82f6;
    margin: 0;
}

.rb_card_content {
    flex: 1;
}

.rb_card_label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rb_card_value {
    font-size: 20px;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'font-B', sans-serif;
}

.rb_sub_value {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    margin-left: 4px;
}

.rb_card_highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.rb_card_highlight .rb_card_icon {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
}

.rb_card_highlight .rb_card_icon .material-symbols-outlined {
    color: #fff;
}

.rb_card_highlight .rb_card_value {
    color: #15803d;
}

/* ============================================
   🏷️ 옵션/시설 태그 (벽돌 배치)
   ============================================ */

.rb_facility_section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rb_section_title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    font-family: 'font-B', sans-serif;
}

.rb_facility_category {
    margin-bottom: 32px;
}

.rb_facility_category:last-child {
    margin-bottom: 0;
}

.rb_facility_category_title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    font-family: 'font-B', sans-serif;
}

.rb_facility_table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px 20px;
}

.rb_facility_row {
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: none;
}

.rb_facility_row:last-child {
    border-bottom: none;
}

.rb_facility_label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
    font-family: 'font-R', sans-serif;
    width: 100%;
}

.rb_facility_check_icon {
    font-size: 20px;
    color: #10b981;
    margin: 0;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* ============================================
   📝 상세 설명 섹션
   ============================================ */

.rb_description_section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rb_description_content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    font-family: 'font-R', sans-serif;
}

.rb_description_content p {
    margin-bottom: 16px;
}

.rb_description_content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* ============================================
   📍 위치 정보 섹션
   ============================================ */

.rb_location_section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rb_address_box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 2px solid #e5e7eb;
}

.rb_address_icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb_address_icon .material-symbols-outlined {
    font-size: 28px;
    color: #ef4444;
    margin: 0;
}

.rb_address_content {
    flex: 1;
}

.rb_address_main {
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
    font-family: 'font-B', sans-serif;
}

.rb_address_detail {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.5;
    font-family: 'font-R', sans-serif;
}

.rb_map_container {
    margin-top: 24px;
}

.rb_map_container #map {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================
   🏢 건물 상세 정보 섹션
   ============================================ */

.rb_building_detail_section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rb_detail_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.rb_detail_item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.rb_detail_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rb_detail_label .material-symbols-outlined {
    font-size: 18px;
    color: #9ca3af;
    margin: 0;
}

.rb_detail_value {
    font-size: 16px;
    color: #1f2937;
    font-weight: 700;
    font-family: 'font-B', sans-serif;
}

/* ============================================
   🏢 건물 정보 섹션
   ============================================ */

.rb_building_info_section,
.rb_management_info_section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rb_info_table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rb_info_row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.rb_info_row:first-child {
    padding-top: 0;
}

.rb_info_row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rb_info_label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    font-size: 15px;
    color: #6b7280;
    font-weight: 600;
    font-family: 'font-R', sans-serif;
    flex-shrink: 0;
}

.rb_info_label .material-symbols-outlined {
    font-size: 20px;
    color: #9ca3af;
    margin: 0;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.rb_info_value {
    flex: 1;
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
    font-family: 'font-R', sans-serif;
    text-align: left;
}

.rb_info_value .rb_sub_value {
    font-size: 14px;
    color: #6b7280;
    font-weight: 400;
    margin-left: 4px;
}

/* ============================================
   🏢 중개사무소 정보 섹션
   ============================================ */

.rb_broker_section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #fef3c7;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.rb_broker_info_box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb_broker_item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px;
    background: #fffbeb;
    border-radius: 12px;
    border: 1px solid #fde68a;
}

.rb_broker_label {
    flex-shrink: 0;
    min-width: 140px;
    font-size: 14px;
    color: #92400e;
    font-weight: 700;
    font-family: 'font-B', sans-serif;
}

.rb_broker_value {
    flex: 1;
    font-size: 15px;
    color: #78350f;
    font-weight: 600;
    font-family: 'font-R', sans-serif;
    word-break: break-word;
}

.rb_phone_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ea580c;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.rb_phone_link:hover {
    color: #c2410c;
    text-decoration: underline;
}

.rb_phone_link .material-symbols-outlined {
    font-size: 20px;
    margin: 0;
}

/* ============================================
   👤 작성자 정보 섹션 (하단 유지)
   ============================================ */

.rb_author_section {
    background: #f9fafb;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    border: 2px solid #e5e7eb;
}

.rb_author_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.rb_author_info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb_author_info strong {
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
    font-family: 'font-B', sans-serif;
}

.rb_author_ip {
    font-size: 13px;
    color: #9ca3af;
    padding: 4px 10px;
    background: #e5e7eb;
    border-radius: 6px;
    font-family: 'font-R', sans-serif;
}

.rb_author_meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.rb_author_date,
.rb_author_views,
.rb_author_comments {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    font-family: 'font-R', sans-serif;
}

.rb_author_date .material-symbols-outlined,
.rb_author_views .material-symbols-outlined,
.rb_author_comments .material-symbols-outlined {
    font-size: 20px;
    color: #9ca3af;
    margin: 0;
}

/* ============================================
   📱 반응형 디자인 - 태블릿 (1024px 이하)
   ============================================ */

@media (max-width: 1024px) {
    /* 이미지 갤러리 */
    .rb_gallery_main_swiper {
        height: 400px;
    }

    .rb_gallery_thumbs_swiper .swiper-slide {
        width: 100px;
        height: 75px;
    }

    .rb_gallery_next,
    .rb_gallery_prev {
        width: 48px;
        height: 48px;
        right: 16px;
    }
    
    .rb_gallery_prev {
        left: 16px;
    }

    .rb_gallery_next .material-symbols-outlined,
    .rb_gallery_prev .material-symbols-outlined {
        font-size: 24px;
    }

    /* Hero 섹션 */
    .rb_realestate_hero {
        padding: 32px;
    }

    .rb_hero_title {
        font-size: 28px;
    }

    .rb_hero_price_value {
        font-size: 40px;
    }

    /* 핵심 정보 카드 */
    .rb_key_info_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ============================================
   📱 반응형 디자인 - 모바일 (768px 이하)
   ============================================ */

@media (max-width: 768px) {
    /* 이미지 갤러리 */
    .rb_gallery_main_swiper {
        height: 300px;
    }

    .rb_gallery_count {
        bottom: 16px;
        right: 16px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .rb_gallery_thumbs_swiper {
        padding: 16px;
    }

    .rb_gallery_thumbs_swiper .swiper-slide {
        width: 80px;
        height: 60px;
    }

    .rb_gallery_next,
    .rb_gallery_prev {
        width: 44px;
        height: 44px;
        right: 12px;
    }
    
    .rb_gallery_prev {
        left: 12px;
    }

    .rb_gallery_next .material-symbols-outlined,
    .rb_gallery_prev .material-symbols-outlined {
        font-size: 22px;
    }

    /* Hero 섹션 */
    .rb_realestate_hero {
        padding: 24px;
        margin-bottom: 20px;
    }

    .rb_hero_title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .rb_hero_price_box {
        padding: 24px;
    }

    .rb_hero_price_value {
        font-size: 32px;
    }

    .rb_view_price_unit,
    .rb_hero_price_box .rb_price_unit {
        font-size: 18px;
    }

    .rb_deposit,
    .rb_monthly {
        font-size: 28px;
    }

    .rb_view_trade_badge,
    .rb_hero_price_box .rb_trade_badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* 핵심 정보 카드 */
    .rb_key_info_grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .rb_key_card {
        padding: 20px;
    }

    .rb_card_icon {
        width: 42px;
        height: 42px;
    }

    .rb_card_icon .material-symbols-outlined {
        font-size: 24px;
    }

    .rb_card_value {
        font-size: 18px;
    }

    /* 섹션 */
    .rb_facility_section,
    .rb_description_section,
    .rb_location_section,
    .rb_building_info_section,
    .rb_management_info_section,
    .rb_broker_section,
    .rb_author_section {
        padding: 24px;
        margin-bottom: 24px;
    }

    /* 건물 정보, 관리 정보 */
    .rb_info_row {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        padding: 12px 0;
    }

    .rb_info_label {
        min-width: auto;
        font-size: 14px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .rb_info_value {
        font-size: 15px;
        text-align: left;
        flex: 1;
        word-break: break-word;
    }

    /* 중개사무소 정보 */
    .rb_broker_item {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .rb_broker_label {
        min-width: auto;
        font-size: 13px;
    }

    .rb_broker_value {
        font-size: 14px;
    }

    .rb_section_title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* 시설 태그 */
    .rb_facility_category {
        margin-bottom: 24px;
    }

    .rb_facility_category_title {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .rb_facility_table {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 16px;
    }

    .rb_facility_row {
        padding: 0;
    }

    .rb_facility_label {
        font-size: 14px;
    }

    .rb_facility_check_icon {
        font-size: 18px;
    }

    /* 주소 박스 */
    .rb_address_box {
        padding: 20px;
    }

    .rb_address_icon {
        width: 42px;
        height: 42px;
    }

    .rb_address_icon .material-symbols-outlined {
        font-size: 24px;
    }

    .rb_address_main {
        font-size: 16px;
    }

    .rb_address_detail {
        font-size: 14px;
    }

    .rb_map_container #map {
        height: 300px !important;
    }

    /* 작성자 정보 */
    .rb_author_section {
        padding: 24px;
    }

    .rb_author_box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .rb_author_meta {
        gap: 16px;
        flex-wrap: wrap;
    }

    .rb_author_date,
    .rb_author_views,
    .rb_author_comments {
        font-size: 13px;
    }
}

/* ============================================
   📱 반응형 디자인 - 소형 모바일 (480px 이하)
   ============================================ */

@media (max-width: 480px) {
    /* Hero 섹션 */
    .rb_hero_title {
        font-size: 19px;
    }

    .rb_hero_price_value {
        font-size: 28px;
    }

    .rb_view_price_unit,
    .rb_hero_price_box .rb_price_unit {
        font-size: 16px;
    }

    .rb_deposit,
    .rb_monthly {
        font-size: 24px;
    }

    /* 핵심 정보 카드 */
    .rb_card_value {
        font-size: 16px;
    }

    .rb_sub_value {
        font-size: 13px;
    }

    /* 섹션 제목 */
    .rb_section_title {
        font-size: 17px;
    }

    /* 설명 */
    .rb_description_content {
        font-size: 15px;
    }

    /* 주소 */
    .rb_address_main {
        font-size: 15px;
    }

    .rb_address_detail {
        font-size: 13px;
    }
}

/* ============================================
   기타 스타일 (기존 호환성)
   ============================================ */

.rb_bbs_wrap .rb_realestate_hero,
.rb_bbs_wrap .rb_key_info_grid,
.rb_bbs_wrap .rb_facility_section,
.rb_bbs_wrap .rb_description_section,
.rb_bbs_wrap .rb_location_section,
.rb_bbs_wrap .rb_author_section {
    max-width: 100%;
}

/* Material Symbols 아이콘 기본 스타일 */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}
